<template>
    <h2>jieguo</h2>
    <span v-if="typeof(souSuoNeiRong)===undefined">未找到相关内容</span>
    <span v-else>{{$route.query}}</span>

</template>

<script>
    export default {
        name: "SearchResult",
        data(){
            return{
                souSuoNeiRong:this.$route.query
            }
        },
    }
</script>

<style scoped>

</style>